package com.mtx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestController {

    @RequestMapping("hello")
    public String helloSpringMVC(){
        System.out.println("hello SpringMVC!");
        return "success";
    }

}
